Skip to content

Conversation

anzr299
Copy link
Collaborator

@anzr299 anzr299 commented Aug 14, 2025

Changes

Remove Code to obtain Merge Node. Instead directly get the merge node from the match nodes.

Reason for changes

Matmul1 -> mul -> Matmul2 pattern was causing an error when the precision for Matmul1 was FP32. The first matmul node was not being found in all_weight_params.

According to my experiments, in both the conditions for patterns MatMul->Multiply->MatMul and Act->MatMul or Act->Multiply->MatMul we essentially do the same task of obtaining the first node from the matched list of nodes.

Tests

Category Job Status Job Number Notes
GH Examples Examples Pass 382
GH WC Weights Compression Pass 137

Related tickets

172326

@anzr299 anzr299 requested a review from a team as a code owner August 14, 2025 17:06
@anzr299 anzr299 marked this pull request as draft August 14, 2025 17:06
@anzr299 anzr299 marked this pull request as ready for review August 14, 2025 19:40
@daniil-lyakhov
Copy link
Collaborator

@anzr299, please check #2708 and ticket 141131. Looks like this code was added to support some LLMs, we need to make sure that this models are compressed as expected

@daniil-lyakhov daniil-lyakhov self-requested a review August 18, 2025 09:28
@anzr299
Copy link
Collaborator Author

anzr299 commented Aug 18, 2025

@anzr299, please check #2708 and ticket 141131. Looks like this code was added to support some LLMs, we need to make sure that this models are compressed as expected

Ah I see, I will apply another workaround instead.

@anzr299 anzr299 marked this pull request as draft September 8, 2025 09:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants